Skip to content

Remove interrupt support (no interrupt on chip or breakout) #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

anecdata
Copy link
Member

@anecdata anecdata commented Oct 7, 2024

Remove mentions and register settings for interrupts. The chip only has power, ground, SDA, and SCL. No interrupt pin on breakout either.

The datasheet notes on p.7:

Interrupt pin not available for VEML7700

The docs were confusing for including (unsupported) interrupt features.

Copy link

github-actions bot commented Oct 7, 2024

👋 Thanks for this pull request! Unfortunately, it looks like the automated continuous integration (CI) test(s) failed. These can be tricky to fix so we've written a guide on how to fix them locally. It has pages about running pre-commit locally and another about building the docs locally with sphinx. Thanks for contributing to CircuitPython! If you have more questions, feel free to join the Adafruit Discord and post in #circuitpython-dev.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@FoamyGuy FoamyGuy merged commit 386669d into main Oct 8, 2024
2 checks passed
@anecdata anecdata deleted the anecdata-patch-1 branch October 8, 2024 15:00
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 9, 2024
@RaNo99
Copy link

RaNo99 commented Jun 11, 2025

I don't think you made the right thing by removing the interrupts notion. They are usable even if there is no dedicated pin. The chip has a feature of setting the interrupt bits (in the ALS_INT register) with persistence protection (ALS_PERS) which you can read instead of the ALS register. This is helpful for continuous ambient light tracking with smoothing done by VEML7700 instead of your custom logic that would require more I2C communication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants